import request from '../utils/request'

export function findLocationBase(params) {
  return request({
    url: '/stock-api/item/findAllItemLocationForPage',
    method: 'post',
    data: params
  })
}

export function addLocationBase(params) {
  return request({
    url: '/stock-api/locationBase/incrUpdateStockLocations',
    method: 'post',
    data: params
  })
}

export function updateLocationBase(params) {
  return request({
    url: '/stock-api/locationBase/incrUpdateStockLocations',
    method: 'post',
    data: params
  })
}

